CVE-2024-36952
scsi: lpfc: Move NPIV's transport unregistration to after resource clean up
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Move NPIV's transport unregistration to after resource clean up There are cases after NPIV deletion where the fabric switch still believes the NPIV is logged into the fabric. This occurs when a vport is unregistered before the Remove All DA_ID CT and LOGO ELS are sent to the fabric. Currently fc_remove_host(), which calls dev_loss_tmo for all D_IDs including the fabric D_ID, removes the last ndlp reference and frees the ndlp rport object. This sometimes causes the race condition where the final DA_ID and LOGO are skipped from being sent to the fabric switch. Fix by moving the fc_remove_host() and scsi_remove_host() calls after DA_ID and LOGO are sent.
INFO
Published Date :
May 30, 2024, 4:15 p.m.
Last Modified :
Oct. 1, 2025, 2:11 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the affected kernel packages.
- Update all affected packages.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-36952.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-36952 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-36952
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-36952 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-36952 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Oct. 01, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-459 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.8.10 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.31 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.91 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 5.15.159 Added Reference Type CVE: https://git.kernel.org/stable/c/0936809d968ecf81e0726fbd02ff2a5732d960c3 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/0936809d968ecf81e0726fbd02ff2a5732d960c3 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/4ddf01f2f1504fa08b766e8cfeec558e9f8eef6c Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/4ddf01f2f1504fa08b766e8cfeec558e9f8eef6c Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/718602cd15f4c5710850090ea3066a89eeb46278 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/718602cd15f4c5710850090ea3066a89eeb46278 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/76337eb8daee32bcc67742efab3168ed4ca299d0 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/76337eb8daee32bcc67742efab3168ed4ca299d0 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/f2c7f029051edc4b394bb48edbe2297575abefe0 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/f2c7f029051edc4b394bb48edbe2297575abefe0 Types: Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/0936809d968ecf81e0726fbd02ff2a5732d960c3 Added Reference https://git.kernel.org/stable/c/4ddf01f2f1504fa08b766e8cfeec558e9f8eef6c Added Reference https://git.kernel.org/stable/c/718602cd15f4c5710850090ea3066a89eeb46278 Added Reference https://git.kernel.org/stable/c/76337eb8daee32bcc67742efab3168ed4ca299d0 Added Reference https://git.kernel.org/stable/c/f2c7f029051edc4b394bb48edbe2297575abefe0 -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 30, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Move NPIV's transport unregistration to after resource clean up There are cases after NPIV deletion where the fabric switch still believes the NPIV is logged into the fabric. This occurs when a vport is unregistered before the Remove All DA_ID CT and LOGO ELS are sent to the fabric. Currently fc_remove_host(), which calls dev_loss_tmo for all D_IDs including the fabric D_ID, removes the last ndlp reference and frees the ndlp rport object. This sometimes causes the race condition where the final DA_ID and LOGO are skipped from being sent to the fabric switch. Fix by moving the fc_remove_host() and scsi_remove_host() calls after DA_ID and LOGO are sent. Added Reference kernel.org https://git.kernel.org/stable/c/f2c7f029051edc4b394bb48edbe2297575abefe0 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/0936809d968ecf81e0726fbd02ff2a5732d960c3 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/76337eb8daee32bcc67742efab3168ed4ca299d0 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/718602cd15f4c5710850090ea3066a89eeb46278 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/4ddf01f2f1504fa08b766e8cfeec558e9f8eef6c [No types assigned]